package com.zhouxiaoge.状态模式;

/**
 * @author 周小哥 gqzmy@163.com 2023/2/27 14:38
 */

public class StartState implements State {
    @Override
    public void doAction(Context context) {
        System.out.println("Player is in start state.");
        context.setState(this);
    }

    @Override
    public String toString() {
        return "Start State";
    }
}
